-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(divider): S2 migration #3557
base: spectrum-two
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: e811287 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ed77498
to
7883943
Compare
File metricsSummaryTotal size: 1.42 MB* Table reports on changes to a package's main file.
divider
* An ASCII character in UTF-8 is 8 bits or 1 byte. |
🚀 Deployed on https://pr-3557--spectrum-css.netlify.app |
], | ||
"modifiers": [ | ||
"--mod-divider-background-color", | ||
"--mod-divider-background-color-large-static-black", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This drops deprecated color styles in favor of the tokens specified by design — I'm not sure if we should alias the raw color tokens to our own and — if so — what naming scheme to use? Doing so would allow us to provide mods for them, but I'm not sure if that's necessary.
21cf5df
to
4eb24b0
Compare
d5e72d4
to
0f14273
Compare
4eb24b0
to
e811287
Compare
Description
CSS-708
This migrates the
divider
component to S2. Custom properties have been remapped and updated per the design spec.New properties
New mods
Removed mods
Additions
This adds new minimum width and height tokens for the divider and the
minDimensionValues
arg has been removed in favor of these tokens and the rules with which they're applied.The default size for the Storybook control has been changed to
medium
(the new default size for the component). All sizes are now displayed for the static color variants in the docs.How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
To-do list